<div class="content sourceset-dependent-content" data-active="" data-togglable=":quarkdown-stdlib/main">
    <div class="sample-container">
                <pre><code class="block lang-kotlin" theme="idea"><span class="token punctuation">.</span><span
                        class="token function">align</span><span class="token punctuation"> </span><span
                        class="token constant">alignment</span><span class="token operator">:</span><span
                        class="token punctuation">{</span><span
                        data-unresolved-link="com.quarkdown.core.ast.quarkdown.block/Container.Alignment///PointingToDeclaration/">Container.Alignment</span><span
                        class="token punctuation">}</span><span class="token punctuation"> </span><span
                        class="token constant">body</span><span class="token operator">:</span><span
                        class="token punctuation">{</span><span
                        data-unresolved-link="com.quarkdown.core.ast/MarkdownContent///PointingToDeclaration/">MarkdownContent</span><span
                        class="token punctuation">}</span><span class="token punctuation"> </span><span
                        class="token operator">-&gt; </span><span
                        data-unresolved-link="com.quarkdown.core.function.value/Node///PointingToDeclaration/">Node</span></code></pre>
    </div>
    <p class="paragraph">Aligns content and text within its parent.</p><span class="kdoc-tag"><h4 class="">Return</h4><p
        class="paragraph">the new aligned <span
        data-unresolved-link="com.quarkdown.core.ast.quarkdown.block/Container///PointingToDeclaration/">Container</span> node</p></span>
    <h4 class="">Parameters</h4>
    <div class="table">
        <div class="table-row" data-filterable-current=":quarkdown-stdlib/main"
             data-filterable-set=":quarkdown-stdlib/main">
            <div class="main-subrow keyValue ">
                <div class=""><span class="inline-flex"><div><u><span><span>alignment</span></span></u></div></span>
                </div>
                <div>
                    <div class="title"><p class="paragraph">content alignment anchor and text alignment</p><h4
                            class="">Values</h4>
                        <ul>
                            <li><span
                                    data-unresolved-link="com.quarkdown.core.ast.quarkdown.block/Container.Alignment.START///PointingToDeclaration/"><code
                                    class="lang-kotlin">start</code></span></li>
                            <li><span
                                    data-unresolved-link="com.quarkdown.core.ast.quarkdown.block/Container.Alignment.CENTER///PointingToDeclaration/"><code
                                    class="lang-kotlin">center</code></span></li>
                            <li><span
                                    data-unresolved-link="com.quarkdown.core.ast.quarkdown.block/Container.Alignment.END///PointingToDeclaration/"><code
                                    class="lang-kotlin">end</code></span></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="table-row" data-filterable-current=":quarkdown-stdlib/main"
             data-filterable-set=":quarkdown-stdlib/main">
            <div class="main-subrow keyValue ">
                <div class=""><span class="inline-flex"><div><u><span><span>body</span></span></u></div></span>
                </div>
                <div>
                    <div class="title"><p class="paragraph">content to center</p></div>
                </div>
            </div>
        </div>
    </div>
    <h4 class="">See also</h4>
    <div class="table">
        <div class="table-row" data-filterable-current=":quarkdown-stdlib/main"
             data-filterable-set=":quarkdown-stdlib/main">
            <div class="main-subrow keyValue ">
                <div class=""><span class="inline-flex"><div><a
                        href="container.html"><span><span>container</span></span></a></div></span></div>
                <div></div>
            </div>
        </div>
    </div>
    <span class="kdoc-tag"><h4 class="kdoctag">Wiki page</h4><a
            href="https://github.com/iamgio/quarkdown/wiki/Align">Align</a></span>
</div>
